package xin.lhuo.we.server.form;

import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @author Lhuo
 * @date 2019/5/6 14:54
 */
@Data
public class LoginForm {
    @NotEmpty(message = "用户名不能为空")
    private String username;
    @NotEmpty(message = "密码不能为空")
    private String password;
}
